package com.zhao.data.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.zhao.data.model.Town;

public interface TownMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(Town record);

	int insertSelective(Town record);

	Town selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Town record);

	int updateByPrimaryKey(Town record);

	@Select("select * from t_town")
	List<Town> selectAll();
}